package com.ruoyi.counter.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单信息对象 workorder
 * 
 * @author xll
 * @date 2021-08-02
 */
public class Workorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderid;

    /** 订单名称 */
    @Excel(name = "订单名称")
    private String ordername;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderno;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String btime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 是否需要发送 */
    @Excel(name = "是否需要发送")
    private Long needsend;

    /** 工单明细信息 */
    private List<Workordersub> workordersubList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderid(String orderid) 
    {
        this.orderid = orderid;
    }

    public String getOrderid() 
    {
        return orderid;
    }
    public void setOrdername(String ordername) 
    {
        this.ordername = ordername;
    }

    public String getOrdername() 
    {
        return ordername;
    }
    public void setOrderno(String orderno) 
    {
        this.orderno = orderno;
    }

    public String getOrderno() 
    {
        return orderno;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setBtime(String btime) 
    {
        this.btime = btime;
    }

    public String getBtime() 
    {
        return btime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setNeedsend(Long needsend) 
    {
        this.needsend = needsend;
    }

    public Long getNeedsend() 
    {
        return needsend;
    }

    public List<Workordersub> getWorkordersubList()
    {
        return workordersubList;
    }

    public void setWorkordersubList(List<Workordersub> workordersubList)
    {
        this.workordersubList = workordersubList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderid", getOrderid())
            .append("ordername", getOrdername())
            .append("orderno", getOrderno())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("btime", getBtime())
            .append("status", getStatus())
            .append("needsend", getNeedsend())
            .append("workordersubList", getWorkordersubList())
            .toString();
    }
}
